class AddRefSubCategoryInComplaint < ActiveRecord::Migration
  def self.up
    change_table :complaints do |t|
      t.references :sub_category
    end
  end

  def self.down
    remove_column :complaints, :sub_category_id
  end
end
